package excercise;

public class EX01_Q19 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int x;
		int y;
		int z;
		
		// 문 a
		x = 3; 
		y = 2;
		
		if ( x > 2 ){
			
			if ( y > 2) {
				
					z = x + y;
					
					System.out.println( "z is " + z );
			}
			else
				
				System.out.println("x is " + x );
			
		}
		
		x = 3; 
		y = 4;
		
		if ( x > 2 ){
			
			if ( y > 2) {
				
					z = x + y;
					
					System.out.println( "z is " + z );
			}
			else
				
				System.out.println("x is " + x );
			
		}
		
		x = 2; 
		y = 2;
		
		if ( x > 2 ){
			
			if ( y > 2) {
				
					z = x + y;
					
					System.out.println( "z is " + z );
			}
			else
				
				System.out.println("x is " + x );
			
		}
		


	}

}
